<!-- conf/lib -->
<?php define("PACKAGE_ROOT", dirname(__FILE__)); ?>
<?php include_once PACKAGE_ROOT.'/conf/facebook_const.php'; ?>
<?php include_once PACKAGE_ROOT.'/lib/mastercontrol.php'; ?>

<!-- facebook redirect -->
<?php redirectFB(); ?>
<?php redirectIframeFB(); ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xml:lang="ja" lang="ja">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"> 
<meta http-equiv="content-style-type" content="text/css"> 
<meta http-equiv="content-script-type" content="text/javascript"> 
<title>"name" facebook page</title>
<?php wp_head(); ?>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" />
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/base.css" type="text/css" />
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/rayout.css" type="text/css" />

<STYLE type="text/css">
<!--
BODY { overflow-x : hidden ;}
//-->
</STYLE>
<script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script>
<?php if(FB_URL != "" && FBPAGE_ONLY){ echo '<script>if(window==top.window) location.href="' . FB_URL . '";</script>';}?>
	
</head>
<body>
<div id="fb-root"></div>
<script type="text/javascript">
FB.init({
		appId : '<?php echo APP_ID; ?>',
		status : true, // check login status
		cookie : true, // enable cookies
		xfbml : true, // parse XFBML
		logging : true
});
FB.Canvas.setAutoResize();
</script>